keyla
Net Worth:
794
#1,490
Bio
Statistics
Level 4
Last seen 1 month ago
Joined Mar 6th, 2024
84 profile views
8 forum posts
Achievements
View All
Friends (50)
View All
Guilds (11)
View All
Games
keyla's First Game
Creator:
keyla
0 visits
Pizzeria Mama Mia
Creator:
keyla
0 visits
Posts
Pinned
this is my first ever program in c++ rate it out of 10 yippie
#include <iostream>
using namespace std;
int main(){
int fdegree = 0;
int cdegree = 0;
int conversion1 = 0, conversion2 = 0;
cout<<"Enter the degrees in fahrenheit: ";
cin>>fdegree;
conversion1 = (fdegree - 32) / 1.8 ;
cout<<"The degrees in celsius is: "<<conversion1<<endl<<endl;
cout<<"Enter the degrees in celsius: ";
cin>>cdegree;
conversion2 = (cdegree * 1.8) + 32;
cout<<"The degrees in fahrenheit is: "<<conversion2<<endl;
return 0;
}
#include <iostream>
using namespace std;
int main(){
int fdegree = 0;
int cdegree = 0;
int conversion1 = 0, conversion2 = 0;
cout<<"Enter the degrees in fahrenheit: ";
cin>>fdegree;
conversion1 = (fdegree - 32) / 1.8 ;
cout<<"The degrees in celsius is: "<<conversion1<<endl<<endl;
cout<<"Enter the degrees in celsius: ";
cin>>cdegree;
conversion2 = (cdegree * 1.8) + 32;
cout<<"The degrees in fahrenheit is: "<<conversion2<<endl;
return 0;
}
0
15
Replies
Backpack